#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int a = 0;
	int b = 0;
	int c = 0;
	int d = 0;
	int e = 0;
	int f = 0;
	scanf("%d%d%d", &a, &b, &c);
	if (a > b)
	{
		d = a;
		e = b;
	}
	else {
		d = b;
		e = a;
	}
	if (c > d)
	{
		f = d;
		d = c;
	}
	else if (c < e) {
		f = e;
		e = c;
	}
	else {
		f = c;
	}
	printf("%d>%d>%d", d, f, e);
	return 0;
}